home *** CD-ROM | disk | FTP | other *** search
/ Java Interactive Reference Guide / Java Interactive Reference Guide.iso / java.exe / java.DXR / 00201_15.txt < prev    next >
Encoding:
Text File  |  1980-01-11  |  18.1 KB  |  1,232 lines

  1. Properties
  2.  
  3.  
  4.  
  5. The following properties are available in JavaScript: 
  6. action alinkColor anchors bgColor checked current defaultChecked defaultSelected defaultStatus defaultValue E elements fgColor      forms frames hash host hostname href index lastModified length linkColor links LN2 LN10      loadedDate location method name options parent pathname PI port protocol referrer search selected      selectedIndex self SQRT1_2 SQRT2 status target text title top value vlinkColor window 
  7.  
  8.  
  9. ------------------------------------------------------------------------
  10.  
  11.  
  12. action property
  13.  
  14.  
  15.  
  16. String value of a FORM tag's ACTION attribute. 
  17.  
  18.  
  19.  
  20. Applies to
  21.  
  22.  
  23.  
  24. form 
  25.  
  26. Examples
  27.  
  28.  
  29.  
  30. xxx Examples to be supplied. 
  31. ------------------------------------------------------------------------
  32.  
  33.  
  34. alinkColor property
  35.  
  36.  
  37.  
  38. RGB value for color of activated links (after mouse-button down, but before mouse-button up), expressed as a hexadecimal triplet. This property is the JavaScript reflection of the ALINK attribute of the HTML BODY tag. 
  39.  
  40.  
  41.  
  42. Applies to
  43.  
  44.  
  45.  
  46. document 
  47.  
  48. Examples
  49.  
  50.  
  51.  
  52. xxx Examples to be supplied. 
  53. ------------------------------------------------------------------------
  54.  
  55.  
  56. anchors property
  57.  
  58.  
  59.  
  60. Array of objects corresponding to named anchors (<A NAME="">/TT> tags) in source order. 
  61.  
  62. The anchors array contains an entry for each anchor in a document. For example, if a document contains three anchors, these anchors are reflected as document.anchors[0], document.anchors[1], and document.anchors[2]. 
  63.  
  64. To obtain the number of anchors in a document, use the length property: document.anchors.length. 
  65.  
  66.  
  67.  
  68. Applies to
  69.  
  70.  
  71.  
  72. document 
  73.  
  74. Examples
  75.  
  76.  
  77.  
  78. xxx Examples to be supplied. 
  79.  
  80. See also
  81.  
  82. length property 
  83. ------------------------------------------------------------------------
  84.  
  85.  
  86. bgColor property
  87.  
  88.  
  89.  
  90. RGB value of background color, expressed as a hexadecimal triplet. This property is the JavaScript reflection of the BGCOLOR attribute of the HTML BODY tag. 
  91.  
  92.  
  93.  
  94. Applies to
  95.  
  96.  
  97.  
  98. document 
  99.  
  100. Examples
  101.  
  102.  
  103.  
  104. xxx Examples to be supplied. 
  105. ------------------------------------------------------------------------
  106.  
  107.  
  108. checked property
  109.  
  110.  
  111.  
  112. For checkbox, Boolean, false if not checked, true if checked. For radioButton, Boolean, false if not pressed, true if pressed. 
  113.  
  114.  
  115.  
  116. Applies to
  117.  
  118.  
  119.  
  120. checkbox, radioButton 
  121.  
  122. Examples
  123.  
  124.  
  125.  
  126. xxx To be supplied. 
  127. ------------------------------------------------------------------------
  128.  
  129.  
  130. current property
  131.  
  132.  
  133.  
  134. URL of current page. xxx Not yet implemented in Beta 4. 
  135.  
  136.  
  137.  
  138. Applies to
  139.  
  140.  
  141.  
  142. history 
  143.  
  144. Examples
  145.  
  146.  
  147.  
  148. xxx Examples to be supplied. 
  149. ------------------------------------------------------------------------
  150.  
  151.  
  152. defaultChecked property
  153.  
  154.  
  155.  
  156. For checkbox, Boolean property that indicates if the element is selected by default, by the CHECKED attribute. For radioButton, Boolean property that indicates if the element is selected by default, by the CHECKED attribute. 
  157.  
  158.  
  159.  
  160. Applies to
  161.  
  162.  
  163.  
  164. checkbox, radioButton 
  165.  
  166. Examples
  167.  
  168.  
  169.  
  170. xxx Examples to be supplied. 
  171. ------------------------------------------------------------------------
  172.  
  173.  
  174. defaultSelected property
  175.  
  176.  
  177.  
  178. Boolean property that indicates if the option is selected by default, by the presence of the SELECTED attribute in the HTML OPTION tag. 
  179.  
  180.  
  181.  
  182. Applies to
  183.  
  184.  
  185.  
  186. selection 
  187.  
  188. Examples
  189.  
  190.  
  191.  
  192. xxx Examples to be supplied. 
  193. ------------------------------------------------------------------------
  194.  
  195.  
  196. defaultStatus property
  197.  
  198.  
  199.  
  200. For a window, the defaultStatus property reflects the default message displayed in the status bar at the bottom of the window. Do not confuse defaultStatus with status. The status property reflects a priority or transient message in the status bar, such as the message that appears when a mouseOver event occurs over an anchor. 
  201.  
  202.  
  203.  
  204. Applies to
  205.  
  206.  
  207.  
  208. window 
  209.  
  210. Examples
  211.  
  212.  
  213.  
  214. xxx Examples to be supplied. 
  215. ------------------------------------------------------------------------
  216.  
  217.  
  218. defaultValue property
  219.  
  220.  
  221.  
  222. For text and textArea, string, the initial contents of the field. 
  223.  
  224.  
  225.  
  226. Applies to
  227.  
  228.  
  229.  
  230. password, text, textArea 
  231.  
  232. Examples
  233.  
  234.  
  235.  
  236. xxx Examples to be supplied. 
  237. ------------------------------------------------------------------------
  238.  
  239.  
  240. E property
  241.  
  242.  
  243.  
  244. E is Euler's constant, the base of natural logarithms, roughly 2.718. 
  245.  
  246.  
  247.  
  248. Applies to
  249.  
  250.  
  251.  
  252. Math 
  253.  
  254. Examples
  255.  
  256.  
  257.  
  258. xxx Examples to be supplied. 
  259. ------------------------------------------------------------------------
  260.  
  261.  
  262. elements property (client)
  263.  
  264. Array of objects corresponding to form elements (such as checkbox, radioButton, and text objects) in source order. 
  265.  
  266. The elements array contains an entry for each object in a form. For example, if a form has a text field, a radio button group, and a checkbox, these elements are reflected as formName.elements[0], formName.elements[1], and formName.elements[2]. 
  267.  
  268.  
  269.  
  270. Applies to
  271.  
  272.  
  273.  
  274. form 
  275.  
  276. Examples
  277.  
  278.  
  279.  
  280. xxx Examples to be supplied. 
  281. ------------------------------------------------------------------------
  282.  
  283.  
  284. fgColor property
  285.  
  286.  
  287.  
  288. RGB value of foreground (text) color, expressed as a hexadecimal triplet. This property is the JavaScript reflection of the FGCOLOR attribute of the HTML BODY tag. 
  289.  
  290.  
  291.  
  292. Applies to
  293.  
  294.  
  295.  
  296. document 
  297.  
  298. Examples
  299.  
  300.  
  301.  
  302. xxx Examples to be supplied. 
  303. ------------------------------------------------------------------------
  304.  
  305.  
  306. forms property
  307.  
  308.  
  309.  
  310. Array of objects corresponding to named forms (<FORM NAME="">/TT> tags) in source order. 
  311.  
  312. The forms array contains an entry for each form object in a document. For example, if a document contains three forms, these forms are reflected as document.forms[0], document.forms[1], and document.forms[2]. 
  313.  
  314. You can refer to a form's elements by using the forms array. For example, you would refer to a text object named quantity in the second form as: 
  315.  
  316.  
  317. document.forms[1].quantity
  318.  
  319.  
  320.  
  321. You would refer to the value property of this text object as: 
  322.  
  323.  
  324. document.forms[1].quantity.value
  325.  
  326.  
  327.  
  328.  
  329.  
  330. To obtain the number of forms in a document, use the length property: document.forms.length. 
  331.  
  332.  
  333.  
  334. Applies to
  335.  
  336.  
  337.  
  338. document 
  339.  
  340. Examples
  341.  
  342.  
  343.  
  344. xxx Examples to be supplied. 
  345.  
  346. See also
  347.  
  348. length property 
  349. ------------------------------------------------------------------------
  350.  
  351.  
  352. frames property
  353.  
  354.  
  355.  
  356. Array of objects corresponding to child frame windows (<FRAMESET>tag) in source order. 
  357.  
  358. The frames array contains an entry for each child frame in a window. For example, if a window contains three child frames, these frames are reflected as window.frames[0], window.frames[1], and window.frames[2]. 
  359.  
  360. To obtain the number of number of child frames in a window, use the length property: window.frames.length. 
  361.  
  362.  
  363.  
  364. Applies to
  365.  
  366.  
  367.  
  368. window 
  369.  
  370. Examples
  371.  
  372.  
  373.  
  374. xxx Examples to be supplied. 
  375.  
  376. See also
  377.  
  378. length property 
  379. ------------------------------------------------------------------------
  380.  
  381.  
  382. hash property
  383.  
  384.  
  385.  
  386. The anchor name following the # symbol. 
  387.  
  388.  
  389.  
  390. Applies to
  391.  
  392.  
  393.  
  394. location 
  395.  
  396. Examples
  397.  
  398.  
  399.  
  400. xxx Examples to be supplied. 
  401. ------------------------------------------------------------------------
  402.  
  403.  
  404. host property
  405.  
  406.  
  407.  
  408. The hostname:port part of the location or URL. 
  409.  
  410.  
  411.  
  412. Applies to
  413.  
  414.  
  415.  
  416. location 
  417.  
  418. Examples
  419.  
  420.  
  421.  
  422. xxx Examples to be supplied. 
  423.  
  424. See also
  425.  
  426. hostname 
  427. ------------------------------------------------------------------------
  428.  
  429.  
  430. hostname property
  431.  
  432.  
  433.  
  434. The hostname part of the location or URL. 
  435.  
  436.  
  437.  
  438. Applies to
  439.  
  440.  
  441.  
  442. location 
  443.  
  444. Examples
  445.  
  446.  
  447.  
  448. xxx Examples to be supplied. 
  449.  
  450. See also
  451.  
  452. host 
  453. ------------------------------------------------------------------------
  454.  
  455.  
  456. href property
  457.  
  458.  
  459.  
  460. The entire URL as a JavaScript string. 
  461.  
  462.  
  463.  
  464. Applies to
  465.  
  466.  
  467.  
  468. location 
  469.  
  470. Examples
  471.  
  472.  
  473.  
  474. xxx Examples to be supplied. 
  475. ------------------------------------------------------------------------
  476.  
  477.  
  478. index property
  479.  
  480.  
  481.  
  482. For radioButton, number, the ordinal number of the radioButton field, 0-based. For a select object option, the number identifying the position of the option in the selection, starting from zero. 
  483.  
  484.  
  485.  
  486. Applies to
  487.  
  488.  
  489.  
  490. radioButton, selection 
  491.  
  492. Examples
  493.  
  494.  
  495.  
  496. xxx Examples to be supplied. 
  497. ------------------------------------------------------------------------
  498.  
  499.  
  500. lastModified property
  501.  
  502.  
  503.  
  504. A string containing the last-modified date. 
  505.  
  506.  
  507.  
  508. Applies to
  509.  
  510.  
  511.  
  512. document 
  513.  
  514. Examples
  515.  
  516.  
  517.  
  518. xxx Examples to be supplied. 
  519. ------------------------------------------------------------------------
  520.  
  521.  
  522. length property
  523.  
  524.  
  525.  
  526. For a history object, the length of the history list. For a string object, the integer length of the string. For a radioButton object, the number of radio buttons in the object. For an anchors, forms, frames, links, or options array, the number of elements in the array. 
  527.  
  528. For a null string, length is zero. 
  529.  
  530.  
  531.  
  532. Applies to
  533.  
  534. applet, history, radioButton, string objects anchors, forms, frames, links, options properties 
  535.  
  536. Examples
  537.  
  538.  
  539.  
  540. xxx Example with history to be supplied. 
  541.  
  542. If the string object mystring is "netscape"/TT>, then mystring.length returns the integer 8. 
  543.  
  544. If the current document contains five forms, then document.forms.length returns the integer 5. 
  545. ------------------------------------------------------------------------
  546.  
  547.  
  548. linkColor property
  549.  
  550.  
  551.  
  552. RGB value for color of hyperlinks, expressed as a hexadecimal triplet. 
  553.  
  554.  
  555.  
  556. Applies to
  557.  
  558.  
  559.  
  560. document 
  561.  
  562. Examples
  563.  
  564.  
  565.  
  566. xxx Examples to be supplied. 
  567. ------------------------------------------------------------------------
  568.  
  569.  
  570. links property
  571.  
  572.  
  573.  
  574. Array of objects corresponding to link objects (<A HREF=URL>/TT> tags) in source order. 
  575.  
  576. The links array contains an entry for each link object in a document. For example, if a document contains three link objects, these links are reflected as document.links[0], document.links[1], and document.links[2]. 
  577.  
  578. To obtain the number of links in a document, use the length property: document.links.length. 
  579.  
  580.  
  581.  
  582. Applies to
  583.  
  584.  
  585.  
  586. document 
  587.  
  588. Examples
  589.  
  590.  
  591.  
  592. xxx Examples to be supplied. 
  593.  
  594. See also
  595.  
  596. length property 
  597. ------------------------------------------------------------------------
  598.  
  599.  
  600. LN2 property
  601.  
  602.  
  603.  
  604. LN2 is the natural logarithm of two, roughly 0.693. 
  605.  
  606.  
  607.  
  608. Applies to
  609.  
  610.  
  611.  
  612. Math 
  613.  
  614. Examples
  615.  
  616.  
  617.  
  618. xxx Examples to be supplied. 
  619. ------------------------------------------------------------------------
  620.  
  621.  
  622. LN10 property
  623.  
  624.  
  625.  
  626. LN10 is the natural logarithm of ten, roughly 2.302. 
  627.  
  628.  
  629.  
  630. Applies to
  631.  
  632.  
  633.  
  634. Math 
  635.  
  636. Examples
  637.  
  638.  
  639.  
  640. xxx Examples to be supplied. 
  641. ------------------------------------------------------------------------
  642.  
  643.  
  644. loadedDate property
  645.  
  646.  
  647.  
  648. xxx Description to be supplied. Not yet implemented in Beta 4. 
  649.  
  650.  
  651.  
  652. Applies to
  653.  
  654.  
  655.  
  656. document 
  657.  
  658. Examples
  659.  
  660.  
  661.  
  662. xxx Examples to be supplied. 
  663. ------------------------------------------------------------------------
  664.  
  665.  
  666. location property
  667.  
  668.  
  669.  
  670. The full URL of the document. 
  671.  
  672.  
  673.  
  674. Applies to
  675.  
  676.  
  677.  
  678. document 
  679.  
  680. Examples
  681.  
  682.  
  683.  
  684. xxx Examples to be supplied. 
  685. ------------------------------------------------------------------------
  686.  
  687.  
  688. method property
  689.  
  690.  
  691.  
  692. Value of METHOD attribute, "get"or "post" 
  693.  
  694.  
  695.  
  696. Applies to
  697.  
  698.  
  699.  
  700. form 
  701.  
  702. Examples
  703.  
  704.  
  705.  
  706. xxx Examples to be supplied. 
  707. ------------------------------------------------------------------------
  708.  
  709.  
  710. name property
  711.  
  712.  
  713.  
  714. A string whose value is the same as the NAME attribute of the object. Note that for button, reset, and submit objects, this is the internal name for the button, not the label that appears onscreen. 
  715.  
  716.  
  717.  
  718. Applies to
  719.  
  720.  
  721.  
  722. button, checkbox, form, password, radioButton, reset, submit, text, textArea 
  723.  
  724. Examples
  725.  
  726.  
  727.  
  728. xxx Examples to be supplied. 
  729. ------------------------------------------------------------------------
  730.  
  731.  
  732. options property
  733.  
  734.  
  735.  
  736. Array of objects corresponding to options in a selection object (<OPTION>tags) in source order. 
  737.  
  738. The options array contains an entry for each option in a selection object. For example, if a selection object named musicStyle contains three options, these options are reflected as musicStyle.options[0], musicStyle.options[1], and musicStyle.options[2]. 
  739.  
  740. To obtain the number of options in a selection object, use the length property: objectName.options.length. 
  741.  
  742.  
  743.  
  744. Applies to
  745.  
  746.  
  747.  
  748. selection 
  749.  
  750. Examples
  751.  
  752.  
  753.  
  754. xxx Examples to be supplied. 
  755.  
  756. See also
  757.  
  758. length property 
  759. ------------------------------------------------------------------------
  760.  
  761.  
  762. parent property
  763.  
  764.  
  765.  
  766. In a <FRAMESET>and <FRAME>relationship, the <FRAMESET>window. 
  767.  
  768.  
  769.  
  770. Applies to
  771.  
  772.  
  773.  
  774. window 
  775.  
  776. Examples
  777.  
  778.  
  779.  
  780. xxx Examples to be supplied. 
  781. ------------------------------------------------------------------------
  782.  
  783.  
  784. pathname property
  785.  
  786.  
  787.  
  788. The file or object path name following the third slash. 
  789.  
  790.  
  791.  
  792. Applies to
  793.  
  794.  
  795.  
  796. location 
  797.  
  798. Examples
  799.  
  800.  
  801.  
  802. xxx Examples to be supplied. 
  803. ------------------------------------------------------------------------
  804.  
  805.  
  806. PI property
  807.  
  808.  
  809.  
  810. Pi is the ratio of the circumference of a circle to its diameter, roughly 3.1415. 
  811.  
  812.  
  813.  
  814. Applies to
  815.  
  816.  
  817.  
  818. Math 
  819.  
  820. Examples
  821.  
  822.  
  823.  
  824. xxx Examples to be supplied. 
  825. ------------------------------------------------------------------------
  826.  
  827.  
  828. port property
  829.  
  830.  
  831.  
  832. The port number in a URL, if any; otherwise "quot. 
  833.  
  834.  
  835.  
  836. Applies to
  837.  
  838.  
  839.  
  840. location 
  841.  
  842. Examples
  843.  
  844.  
  845.  
  846. xxx Examples to be supplied. 
  847. ------------------------------------------------------------------------
  848.  
  849.  
  850. protocol property
  851.  
  852.  
  853.  
  854. The initial substring up to and including the first colon, which indicates the URL's access method. 
  855.  
  856.  
  857.  
  858. Applies to
  859.  
  860.  
  861.  
  862. location 
  863.  
  864. Examples
  865.  
  866.  
  867.  
  868. xxx Examples to be supplied. 
  869. ------------------------------------------------------------------------
  870.  
  871.  
  872. referrer property
  873.  
  874.  
  875.  
  876. xxx Description to be supplied. 
  877.  
  878.  
  879.  
  880. Applies to
  881.  
  882.  
  883.  
  884. document 
  885.  
  886. Examples
  887.  
  888.  
  889.  
  890. xxx Examples to be supplied. 
  891. ------------------------------------------------------------------------
  892.  
  893.  
  894. search property
  895.  
  896.  
  897.  
  898. Any query string or form data after ?. 
  899.  
  900.  
  901.  
  902. Applies to
  903.  
  904.  
  905.  
  906. location 
  907.  
  908. Examples
  909.  
  910.  
  911.  
  912. xxx Examples to be supplied. 
  913. ------------------------------------------------------------------------
  914.  
  915.  
  916. selected property
  917.  
  918.  
  919.  
  920. Boolean property that indicates the current selected state of an option in a select object. 
  921.  
  922.  
  923.  
  924. Applies to
  925.  
  926.  
  927.  
  928. selection 
  929.  
  930. Examples
  931.  
  932.  
  933.  
  934. xxx Examples to be supplied. 
  935. ------------------------------------------------------------------------
  936.  
  937.  
  938. selectedIndex property
  939.  
  940.  
  941.  
  942. xxx to be described 
  943.  
  944.  
  945.  
  946. Applies to
  947.  
  948.  
  949.  
  950. selection 
  951.  
  952. Examples
  953.  
  954.  
  955.  
  956. xxx Examples to be supplied. 
  957. ------------------------------------------------------------------------
  958.  
  959.  
  960. self property
  961.  
  962.  
  963.  
  964. The self property refers to the current window. Use the self property to disambiguate a window property from a form of the same name. You can also use the self property to make your code more readable. 
  965.  
  966.  
  967.  
  968. Applies to
  969.  
  970.  
  971.  
  972. window 
  973.  
  974. Examples
  975.  
  976.  
  977.  
  978. In the following example, self.status is used to set the status property. This usage disambiguate the status property of a window from a form called "status". 
  979.  
  980. <A HREF=""
  981.    onClick="this.href=pickRandomURL();"
  982.    onMouseOver="self.status='Pick a random URL' ; return true">
  983. Go!</A>
  984.  
  985.  
  986.  
  987.  
  988. See also
  989.  
  990. window property 
  991. ------------------------------------------------------------------------
  992.  
  993.  
  994. SQRT1_2 property
  995.  
  996.  
  997.  
  998. SQRT1_2 is the square root of one-half; equivalently, one over the square root of two, roughly 0.707. 
  999.  
  1000.  
  1001.  
  1002. Applies to
  1003.  
  1004.  
  1005.  
  1006. Math 
  1007.  
  1008. Examples
  1009.  
  1010.  
  1011.  
  1012. xxx Examples to be supplied. 
  1013. ------------------------------------------------------------------------
  1014.  
  1015.  
  1016. SQRT2 property
  1017.  
  1018.  
  1019.  
  1020. SQRT2 is the square root of two, roughly 1.414. 
  1021.  
  1022.  
  1023.  
  1024. Applies to
  1025.  
  1026.  
  1027.  
  1028. Math 
  1029.  
  1030. Examples
  1031.  
  1032.  
  1033.  
  1034. xxx Examples to be supplied. 
  1035. ------------------------------------------------------------------------
  1036.  
  1037.  
  1038. status property
  1039.  
  1040.  
  1041.  
  1042. For a window, the status property reflects a priority or transient message in the status bar at the bottom of the window, such as the message that appears when a mouseOver event occurs over an anchor. Do not confuse status with defaultStatus. The defaultStatus property reflects the default message displayed in the status bar. 
  1043.  
  1044.  
  1045.  
  1046. Applies to
  1047.  
  1048.  
  1049.  
  1050. window 
  1051.  
  1052. Examples
  1053.  
  1054.  
  1055.  
  1056. Suppose you have created a JavaScript function called pickRandomURL() that lets you select a URL at random. You can use the onClick event handler of an anchor to specify a value for the HREF attribute of the anchor dynamically, and the onMouseOver event handler to specify a custom message for the window in the status property: 
  1057.  
  1058. <A HREF=""
  1059.    onClick="this.href=pickRandomURL();"
  1060.    onMouseOver="self.status='Pick a random URL'; return true">
  1061. Go!</A>
  1062.  
  1063.  
  1064.  
  1065.  
  1066. In the above example, the status property of the window is assigned to the window's self property, as self.status. As this example shows, you must return true to set the status property in the onMouseOver event handler. 
  1067. ------------------------------------------------------------------------
  1068.  
  1069.  
  1070. target property
  1071.  
  1072.  
  1073.  
  1074. Window targeted for form response after the form has been submitted. 
  1075.  
  1076.  
  1077.  
  1078. Applies to
  1079.  
  1080.  
  1081.  
  1082. form, link 
  1083.  
  1084. Examples
  1085.  
  1086.  
  1087.  
  1088. xxx Examples to be supplied. 
  1089. ------------------------------------------------------------------------
  1090.  
  1091.  
  1092. text property
  1093.  
  1094.  
  1095.  
  1096. String, reflection of the text after the <OPTION>/TT> tag. 
  1097.  
  1098.  
  1099.  
  1100. Applies to
  1101.  
  1102.  
  1103.  
  1104. selection 
  1105.  
  1106. Examples
  1107.  
  1108.  
  1109.  
  1110. xxx Examples to be supplied. 
  1111. ------------------------------------------------------------------------
  1112.  
  1113.  
  1114. title property
  1115.  
  1116.  
  1117.  
  1118. Current document title. 
  1119.  
  1120.  
  1121.  
  1122. Applies to
  1123.  
  1124.  
  1125.  
  1126. document 
  1127.  
  1128. Examples
  1129.  
  1130.  
  1131.  
  1132. xxx Examples to be supplied. 
  1133. ------------------------------------------------------------------------
  1134.  
  1135.  
  1136. top property
  1137.  
  1138.  
  1139.  
  1140. The top-most ancestor window, which is its own parent. 
  1141.  
  1142.  
  1143.  
  1144. Applies to
  1145.  
  1146.  
  1147.  
  1148. window 
  1149.  
  1150. Examples
  1151.  
  1152.  
  1153.  
  1154. xxx Examples to be supplied. 
  1155. ------------------------------------------------------------------------
  1156.  
  1157.  
  1158. value property
  1159.  
  1160.  
  1161.  
  1162. For button, reset, and submit objects, a string that is the same as the VALUE attribute (this is the label that appears onscreen, not the internal name for the button). For checkbox, a string, "on" if item is checked; "off" otherwise. For radioButton, a string, reflection of the VALUE attribute. For selection, reflection of VALUE attribute, sent to server on submit. For text and textArea, string, the contents of the field. 
  1163.  
  1164. Applies to
  1165.  
  1166.  
  1167.  
  1168. button, checkbox, password, radioButton, reset, selection, submit, text, textArea 
  1169.  
  1170. Examples
  1171.  
  1172.  
  1173.  
  1174. xxx Examples to be supplied. 
  1175. ------------------------------------------------------------------------
  1176.  
  1177.  
  1178. vlinkColor property
  1179.  
  1180.  
  1181.  
  1182. RGB value for color of visited links, expressed as a hexadecimal triplet. This property is the JavaScript reflection of the VLINK attribute of the HTML BODY tag. 
  1183.  
  1184.  
  1185.  
  1186. Applies to
  1187.  
  1188.  
  1189.  
  1190. document 
  1191.  
  1192. Examples
  1193.  
  1194.  
  1195.  
  1196. xxx Examples to be supplied. 
  1197. ------------------------------------------------------------------------
  1198.  
  1199.  
  1200. window property
  1201.  
  1202.  
  1203.  
  1204. The window property refers to the current window. Use the window property to disambiguate a property of the window object from a form of the same name. You can also use the window property to make your code more readable. 
  1205.  
  1206.  
  1207.  
  1208. Applies to
  1209.  
  1210.  
  1211.  
  1212. window 
  1213.  
  1214. Examples
  1215.  
  1216.  
  1217.  
  1218. In the following example, window.status is used to set the status property. This usage disambiguate the status property of a window from a form called "status". 
  1219.  
  1220. <A HREF=""
  1221.    onClick="this.href=pickRandomURL();"
  1222.    onMouseOver="window.status='Pick a random URL' ; return true">
  1223. Go!</A>
  1224.  
  1225.  
  1226.  
  1227.  
  1228. See also
  1229.  
  1230. self property 
  1231.  
  1232.